	var aLi = document.querySelectorAll("li");
	var aP = document.querySelectorAll("p");
	var right = document.querySelector("#right");

	for (var i = 0; i < aLi.length; i++) {
		aLi[i].index = i;
		aLi[i].onclick = function () {
			if (aP[this.index].style.display == "none") {
				for (var j = 0; j < aP.length; j++) {
					aP[j].style.display = "none";
					aLi[j].style.backgroundColor = "black";
				}
				aP[this.index].style.display = "block";
				aLi[this.index].style.backgroundColor = "rgba(255,0,0,0.5)";
				right.style.border = "0.1rem solid #909399";
			} else {
				aP[this.index].style.display = "none";
				aLi[this.index].style.backgroundColor = "black";
				right.style.border = "none";
			}
		}
	}